package com.bl.pet.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.bl.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 实体类：
 */
@Data
public class PetType extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private String name;

    private String description;


    private String dirPath;

    /**
     * 父类型id
     */
    private Long pid;


    // 用于类型树
    //部门树最后一级没有数据就不显示
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    List<PetType> children = new ArrayList<>();

}
